package ai.zixing.controller;

import ai.zixing.service.PlanService;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
public class PlanController {

    @Resource
    private PlanService planService;

    @GetMapping("/plan")
    public void explainPlan() {
        planService.explain();
    }
}
